import request from '@/utils/request.js'

/**
 * @description 授权登录
 * @param {*} data
*/
export const Login=(data)=>{
	return request({
		url:'/wx/code2Session',
		method:'post',
		params:{},
		data
	})
}

/**
 * @description 获取手机号
 * @param {*} data
*/
export const getPhoneNumber=(data)=>{
	return request({
		url:'/wx/getPhoneNumber',
		method:'post',
		params:{},
		data
	})
}